package com.wr.service.comment;

import com.alibaba.fastjson.JSONObject;
import com.wr.model.Comment;
import com.wr.model.RestResponse;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @author weirong
 * @Title:
 * @Description:
 * @date 2018/6/1315:37
 */
public interface CommentService {

    void add( Comment comment);

    JSONObject listByArtId(Integer artid, Integer pageSize);
}
